﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class M_Member:NFinal.Struct
    {
		public System.Int32? ID {get;set;}
		public System.String PID {get;set;}
		public System.String XingMing {get;set;}
		public System.String BeiZhu {get;set;}
		public System.String GuoJia {get;set;}
		public System.String ShengFen {get;set;}
		public System.String ShiQu {get;set;}
		public System.String DiZhi {get;set;}
		public System.String OpenID {get;set;}
		public System.String OpenIDPath {get;set;}
		public System.String AllOpenIDPath {get;set;}
		public System.Int32? Subscribe {get;set;}
		public System.String Sex {get;set;}
		public System.String Language {get;set;}
		public System.String HeadimgUrl {get;set;}
		public System.DateTime? SubscribeTime {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.Int32? JiFen {get;set;}
		public System.DateTime? UpdateTime {get;set;}
		public System.String Tel {get;set;}
		public System.Decimal? YuEr {get;set;}
		public System.Decimal? YinBi {get;set;}
		public System.String Password {get;set;}
		public System.String refresh_token {get;set;}
		public System.String TG_Img {get;set;}
		public System.String ShangJi {get;set;}
		public System.Int32? SFType {get;set;}
		public System.String GongSiName {get;set;}
		public System.String FangChanZhengName {get;set;}
		public System.String FuJianUrl {get;set;}
		public System.String ShenHe {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"PID\":");
					tw.Write("\"");
					tw.Write(PID==null?"null":PID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"XingMing\":");
					tw.Write("\"");
					tw.Write(XingMing==null?"null":XingMing);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"BeiZhu\":");
					tw.Write("\"");
					tw.Write(BeiZhu==null?"null":BeiZhu);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"GuoJia\":");
					tw.Write("\"");
					tw.Write(GuoJia==null?"null":GuoJia);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ShengFen\":");
					tw.Write("\"");
					tw.Write(ShengFen==null?"null":ShengFen);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ShiQu\":");
					tw.Write("\"");
					tw.Write(ShiQu==null?"null":ShiQu);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"DiZhi\":");
					tw.Write("\"");
					tw.Write(DiZhi==null?"null":DiZhi);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OpenID\":");
					tw.Write("\"");
					tw.Write(OpenID==null?"null":OpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"OpenIDPath\":");
					tw.Write("\"");
					tw.Write(OpenIDPath==null?"null":OpenIDPath);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"AllOpenIDPath\":");
					tw.Write("\"");
					tw.Write(AllOpenIDPath==null?"null":AllOpenIDPath);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Subscribe\":");
					tw.Write(Subscribe==null?"null" : Subscribe.ToString());
					tw.Write(",");
					tw.Write("\"Sex\":");
					tw.Write("\"");
					tw.Write(Sex==null?"null":Sex);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Language\":");
					tw.Write("\"");
					tw.Write(Language==null?"null":Language);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"HeadimgUrl\":");
					tw.Write("\"");
					tw.Write(HeadimgUrl==null?"null":HeadimgUrl);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"SubscribeTime\":");
					tw.Write("\"");
					tw.Write(SubscribeTime==null?"null":SubscribeTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"JiFen\":");
					tw.Write(JiFen==null?"null" : JiFen.ToString());
					tw.Write(",");
					tw.Write("\"UpdateTime\":");
					tw.Write("\"");
					tw.Write(UpdateTime==null?"null":UpdateTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"Tel\":");
					tw.Write("\"");
					tw.Write(Tel==null?"null":Tel);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"YuEr\":");
					tw.Write(YuEr==null?"null" : YuEr.ToString());
					tw.Write(",");
					tw.Write("\"YinBi\":");
					tw.Write(YinBi==null?"null" : YinBi.ToString());
					tw.Write(",");
					tw.Write("\"Password\":");
					tw.Write("\"");
					tw.Write(Password==null?"null":Password);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"refresh_token\":");
					tw.Write("\"");
					tw.Write(refresh_token==null?"null":refresh_token);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"TG_Img\":");
					tw.Write("\"");
					tw.Write(TG_Img==null?"null":TG_Img);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ShangJi\":");
					tw.Write("\"");
					tw.Write(ShangJi==null?"null":ShangJi);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"SFType\":");
					tw.Write(SFType==null?"null" : SFType.ToString());
					tw.Write(",");
					tw.Write("\"GongSiName\":");
					tw.Write("\"");
					tw.Write(GongSiName==null?"null":GongSiName);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"FangChanZhengName\":");
					tw.Write("\"");
					tw.Write(FangChanZhengName==null?"null":FangChanZhengName);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"FuJianUrl\":");
					tw.Write("\"");
					tw.Write(FuJianUrl==null?"null":FuJianUrl);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ShenHe\":");
					tw.Write("\"");
					tw.Write(ShenHe==null?"null":ShenHe);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
